<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" > 
	<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title> MAGNETO Admin Skin</title>
			<link rel="stylesheet" type="text/css" href="css/jquery/jquery.ui.all.css" media="screen"/>
			<link rel="stylesheet" type="text/css" href="css/table_data.css" media="screen"/>
			<link rel="stylesheet" type="text/css" href="css/lightbox/style.css" media="screen"/>
			<link rel="stylesheet" type="text/css" href="css/style.css" title="style_blue" media="screen"/>
 
			
			<!--[if IE]><script type="text/javascript" src="js/excanvas.js"></script><![endif]-->
			<script type="text/javascript" src="js/jquery-1.4.2.js"></script>
			<script type="text/javascript" src="js/jquery-ui-1.8.2.js"></script>
			<script type="text/javascript" src="js/jquery.validate.js" ></script>
			<script type="text/javascript" src="js/jquery.wysiwyg.js" ></script>
			<script type="text/javascript" src="js/jquery.dataTables.js"></script>
			<script type="text/javascript" src="js/styleswitch.js"></script>
			<script type="text/javascript" src="js/jquery.fancybox-1.3.2.js"></script>
			<script type="text/javascript" src="js/custom.js"></script>
			<script type="text/javascript">
    function showMenu(obj){
    	var firstMenu=$(obj);
    	$('#navbar li ul').hide();
    	$('ul',firstMenu).show();
    	$('#navbar li').removeClass("active");
    	firstMenu.addClass( 'active');
    }
</script>
	</head>
<body>

<div id="wrapper">

      <ul id="topbar">
        <li><a class="button white fl" title="preview" href="index.html"><span class="icon_single preview"></span></a></li>
		<li class="s_1"></li>
        <li class="logo"><strong>MAGNETO</strong> ADMIN SKIN</li>
		<li class="s_1"></li>
        <li><a class="breadcrumb underline" href="#">Dashboard</a></li>
        <li class="fr"><a class="button red fl" title="logout" href="${base}/j_spring_security_logout"><span class="icon_text logout"></span>logout</a></li>
        <li class="s_1 fr"></li>
		<li class="fr"><a class="button white fl" title="unread mail" href="#"><span class="icon_text mail"></span>3</a></li>
        <li class="s_1 fr"></li>
		<li class="fr"><a class="button white fl" title="admin" href="#"><span class="icon_text admin"></span>admin</a></li>
		<li class="fr"><a id="logged">Logged in as</a></li>
		<li class="clear"></li>
      </ul>
	
      <ul id="navbar">
        <li class="active" onclick="showMenu(this)">
		<a href="#" ><span class="icon_text dashboard"></span>dashboard</a>
			<ul id="dash" style="display:block">
				<li><a class="subbutton white" href="general.html"><span class="icon_text general"></span>general</a></li>
				<li><a class="subbutton white" href="tabs.html"><span class="icon_text tab"></span>tabs</a></li>
				<li><a class="subbutton white" href="typography.html"><span class="icon_text typography"></span>typography</a></li>
				<li><a class="subbutton white" href="grids.html"><span class="icon_text grids"></span>grids</a></li>
				<li><a class="subbutton white" href="tables.html"><span class="icon_text tables"></span>tables</a></li>
				<li><a class="subbutton white" href="forms.html"><span class="icon_text forms"></span>forms</a></li>
				<li><a class="subbutton white" href="graphs.html"><span class="icon_text graphs"></span>graphs</a></li>
				<li><a class="subbutton white" href="gallery.html"><span class="icon_text gallery"></span>gallery</a></li>
			</ul>
		</li>
        <li><a href="#"><span class="icon_text content"></span>content</a></li>
        <li><a href="#"><span class="icon_text design"></span>design</a></li>
        <li><a href="#"><span class="icon_text pages"></span>pages</a></li>
        <li><a href="#"><span class="icon_text users"></span>users</a></li>
        <li><a href="#"><span class="icon_text media"></span>media</a></li>
        <li><a href="#"><span class="icon_text comment"></span>comment</a></li>
        <li><a href="#"><span class="icon_text stats"></span>stats</a></li>
         <li onclick="showMenu(this)"><a href="#" ><span class="icon_text settings"></span>客户管理</a>
        		<ul id="customer" style="display:none;position:absolute; left:20px;">
        		<li><a class="subbutton white"  href="${base}/customer/contancts/list.do" target="mainFrame"><span class="icon_text gallery"></span>联系人</a></li>
				<li><a class="subbutton white"  href="${base}/customer/customer/list.do" target="mainFrame"><span class="icon_text gallery"></span>客户列表</a></li>
			</ul>
        </li>
        <li onclick="showMenu(this)"><a href="#" ><span class="icon_text settings"></span>系统设置</a>
        		<ul id="settings" style="display:none;position:absolute; left:20px;">
				<li><a class="subbutton white"  href="${base}/core/userbasic/list.do" target="mainFrame"><span class="icon_text gallery"></span>员工列表</a></li>
				<li><a class="subbutton white"  href="${base}/core/rolesinfo/list.do" target="mainFrame"><span class="icon_text gallery"></span>角色信息</a></li>
				<li><a class="subbutton white"  href="${base}/core/appcode/list.do" target="mainFrame"><span class="icon_text gallery"></span>码表维护</a></li>
				<li><a class="subbutton white"  href="${base}/core/groupinfo/list.do" target="mainFrame"><span class="icon_text gallery"></span>组织机构</a></li>
				<li><a class="subbutton white"  href="${base}/core/grouptype/list.do" target="mainFrame"><span class="icon_text gallery"></span>机构类型</a></li>
			    <li><a class="subbutton white"  href="${base}/core/authority/list.do" target="mainFrame"><span class="icon_text gallery"></span>权限信息</a></li>
				<li><a class="subbutton white"  href="${base}/core/authoritytype/list.do" target="mainFrame"><span class="icon_text gallery"></span>权限类型</a></li>
				<li><a class="subbutton white"  href="${base}/core/rulesinfo/list.do" target="mainFrame"><span class="icon_text gallery"></span>权限规则</a></li>
			<li><a class="subbutton white"  href="${base}/core/backupdata/list.do" target="mainFrame"><span class="icon_text gallery"></span>数据备份</a></li>
			</ul>
        </li>
      </ul>
	  <div id="subnavbar">
		<form id="search_form" method="post" action="#">
			<input type="text" name="search_input" value="Search..." id="search_input" class="fl" />
		</form>
	  </div>
	  
	 <iframe src="dashboard.jsp" id="mainFrame" name="mainFrame" width="100%" height=""  frameborder="0" scrolling="no"></iframe>

</div>

	<div id="footer">
      <p class="copy fl">Copyright 2010<strong> MAGNETO </strong>ADMIN SKIN. All rights reserved.</p>
      <ul class="button language_button white fr">
        <li class="icon_single language fl"></li>
        <li class="flag en fl"></li>
		<li class="flag es fl"></li>
        <li class="flag de fl"></li>
        <li class="flag it fl"></li>
        <li class="clear"></li>
      </ul>
	  
	  <ul class="skinner fr">
		<li class="fl"><a href="#" rel="style_blue" class="styleswitch skin skin_blue fl"></a></li>
		<li class="fl"><a href="#" rel="style_green" class="styleswitch skin skin_green fl"></a></li>
		<li class="fl"><a href="#" rel="style_red" class="styleswitch skin skin_red fl"></a></li>
		<li class="fl"><a href="#" rel="style_purple" class="styleswitch skin skin_purple fl"></a></li>
		<li class="clear"></li>
	 </ul>
    </div>
</body>
</html>